package com.teame.readbaby.vo;

import java.util.ArrayList;
import java.util.List;

public class OrderDetail {
	//TODO 这个封装有点问题 ==> type信息应该放在哪儿???
	private int payment_info;//支付类型
	private int delivery_info;//送货时间
	
	//TODO 如果不行改为String[]
	//checkout_prom
	private List<Object> checkout_prom;//促销信息
	
	//取消订单
	private boolean ordercancel;
	
	//productlist
	private List<Produt> productlist;//商品列表
	
	//address_info
	private Address address;//地址信息 
	
	//invoice_info
	private Invoice invoice;
	
	//TODO 订单金额不是和订单总金额是一回事吗?
	//order_info
	private float price; //订单金额
	private int flag;//是否可修改...
	private String orderid;//订单号
	private String status;//订单状态
	private String time;//订单时间
	
	//checkout_addup
	private int freight;//邮费
	private int prom_cut;//优惠金额	
	private int total_count;//商品数量
	private int total_point;//商品积分
	private float total_price;//商品总价格
	
	public void setTotal_count(int total_count) {
		this.total_count = total_count;
	}
	public int getTotal_count() {
		return total_count;
	}
	public int getTotal_point() {
		return total_point;
	}
	public float getTotal_price() {
		return total_price;
	}
	public void setTotal_point(int total_point) {
		this.total_point = total_point;
	}
	public void setTotal_price(float total_price) {
		this.total_price = total_price;
	}
	public int getPayment_info() {
		return payment_info;
	}
	public void setPayment_info(int payment_info) {
		this.payment_info = payment_info;
	}
	public int getDelivery_info() {
		return delivery_info;
	}
	public void setDelivery_info(int delivery_info) {
		this.delivery_info = delivery_info;
	}
	public List<Object> getCheckout_prom() {
		return checkout_prom;
	}
	public void setCheckout_prom(List<Object> checkout_prom) {
		this.checkout_prom = checkout_prom;
	}
	public boolean isOrdercancel() {
		return ordercancel;
	}
	public void setOrdercancel(boolean ordercancel) {
		this.ordercancel = ordercancel;
	}
	public List<Produt> getProductlist() {
		return productlist;
	}
	public void setProductlist(List<Produt> productlist) {
		this.productlist = productlist;
	}
	public Address getAddress() {
		return address;
	}
	public void setAddress(Address address) {
		this.address = address;
	}
	public Invoice getInvoice() {
		return invoice;
	}
	public void setInvoice(Invoice invoice) {
		this.invoice = invoice;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public int getFlag() {
		return flag;
	}
	public void setFlag(int flag) {
		this.flag = flag;
	}
	public String getOrderid() {
		return orderid;
	}
	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public int getFreight() {
		return freight;
	}
	public void setFreight(int freight) {
		this.freight = freight;
	}
	public int getProm_cut() {
		return prom_cut;
	}
	public void setProm_cut(int prom_cut) {
		this.prom_cut = prom_cut;
	}
}
